package net.hn.hnms.biz.plan.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = false)
@Table(name = "group_sale_gather")
public class GroupSaleGather {




    @TableId(type = IdType.ASSIGN_UUID)
    private String groupSaleGatherId;

    /**
     * 部门ID，矿id
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String deptId;

    /**
     * 当天销量
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal toDay;

    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String type;

    /**
     * 昨日销量
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal prvDay;

    /**
     * 月累计
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal monthTotal;

    /**
     * 年累计
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal yearTotal;


    /**
     * 数据时间
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String dataDate;
    /**
     * 年同比
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String yoy;


    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal monthPlan;

    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String name;

    /**
     * 年计划
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal yearPlan;


    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal yearQuantitySum;

    /**
     *
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal monthQuantitySum;
    /**
     *
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal prvQuantitySum;
    /**
     *
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal todayQuantitySum;
    /**
     *
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal monthPlanSum;
    /**
     *
     */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal dayAvg;

    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String mineCode;
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String companyCode;




}
